ScopedGtbabel\vielhuber\gtbabel\Dom D

Total Complexity 333
Dependencies 11
Dependents 1
Total lines 1,192
Lines of code 1,036
Logical lines of code 674
Comment lines 84
Methods 62
Properties 7

Methods 62

Method Rating Maintainability Complexity Lines of code
modifyHtmlNodes()
D
30 34 100
setXmlLangTags()
B
37 22 71
getNearestLogicalGroup()
B
43 23 40
transformSelectorToXpath()
A
44 16 39
doWordPressSpecificsBefore()
A
45 14 39
getGroupsForTextNodes()
A
45 13 43
showFrontendEditorLinks()
A
46 13 34
removeHiddenBlocks()
A
47 12 33
preloadExcludedNodes()
A
49 12 31
modifyJson()
A
44 11 43
setHtmlLangTags()
A
47 10 37
modifyXmlNodes()
A
48 10 32
detectDomChangesFrontend()
A
45 9 42
localizeJsPrepare()
A
48 9 33
setInnerHtml()
S
51 7 26
modifyHtml()
S
48 6 35
nodeIsExcluded()
S
56 7 19
__construct()
S
62 8 9
addNoTranslateClassToExcludedChildren()
S
58 6 15
frontendEditorFrontend()
S
53 5 23
showSimpleLanguagePicker()
S
55 5 18
preloadAltLngAreas()
S
57 5 17
doWordPressSpecificsAfter()
S
62 5 11
modifyXml()
S
59 4 16
getParentNodeWithMoreThanOneChildren()
S
59 4 16
preloadForceTokenize()
S
63 4 11
injectLanguagePickerIntoMenu()
S
59 3 13
localizeJsInject()
S
60 3 13
setRtlAttr()
S
66 3 8
getTagNameOfNode()
S
67 3 9
nodeContentBeginsWith()
S
65 3 9
nodeContentEndsWith()
S
65 3 9
getPreviousSiblingOfNode()
S
68 2 7
getLastChildrenOfNode()
S
68 2 7
addClass()
S
65 2 9
insertAfter()
S
69 2 7
getNextSiblingOfNode()
S
68 2 7
getAltLngForElement()
S
70 2 6
modifyContent()
S
66 2 9
getInnerHtml()
S
69 2 7
addToExcludedNodes()
S
70 2 6
isInnerTagNode()
S
68 2 6
isEmptyTextNode()
S
77 2 3
nodeIsForcedTokenized()
S
79 1 3
getChildrenOfNodeIncludingWhitespace()
S
80 1 3
finishDomDocument()
S
78 1 3
getTextSiblingCountOfNonTextNodeWithMoreChars()
S
78 1 3
getChildrenOfNode()
S
80 1 3
getChildrenCountOfNode()
S
80 1 3
getTextSiblingCountOfNonTextNodeWithLessChars()
S
78 1 3
setupDomDocument()
S
74 1 4
getTextSiblingCountOfNonTextNode()
S
80 1 3
getBrSiblingCountOfNonTextNode()
S
80 1 3
getNodeSiblingCountOfNonTextNode()
S
79 1 3
getSiblingCountOfNonTextNode()
S
79 1 3
getChildrenCountRecursivelyOfNodeTagsOnly()
S
80 1 3
stringToNode()
S
67 1 7
getOuterHtml()
S
72 1 5
getIdOfNode()
S
82 1 3
isTextNode()
S
80 1 3
isElementNode()
S
80 1 3
replaceNodeWithString()
S
67 1 7